/*
 *  Copyright 2024 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import (reference) '../../../../styles/variables.less';

.pie-chart-summary-panel {
  .summary-title {
    font-size: 16px;
    color: @text-color;
    font-weight: 600;
    margin-bottom: 0;
  }

  .summary-value {
    font-size: 30px;
    font-weight: 600;
    color: @text-color;
    margin-top: 8px;
  }

  .chart-container {
    position: relative;
  }

  .chart-center-text {
    font-size: 16px;
    font-weight: 600;
    fill: @text-color;
  }

  .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .legend-text {
    color: @grey-600;

    .legend-value {
      font-weight: 600;
    }
  }

  .icon-container {
    width: 32px;
    height: 32px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    background-color: @grey-100;
    border-radius: 50%;

    svg {
      width: 20px;
      height: 20px;
    }
  }
}
